package com.javastudy.liuhouse.jdbc18.bean;

public class Student {
    private String name;
    private Integer gender;
    private Integer grade;
    private Integer score;


    public Student() {
    }

    public Student(String name, Integer gender, Integer grade, Integer score) {
        this.name = name;
        this.gender = gender;
        this.grade = grade;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public Integer getGender() {
        return gender;
    }

    public Integer getGrade() {
        return grade;
    }

    public Integer getScore() {
        return score;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", gender=" + gender +
                ", grade=" + grade +
                ", score=" + score +
                '}';
    }
}
